def index
      if params[:logout]
        logout_user
        elo = User.find(User::LOGGED_OUT_USER_ID)        
        login_user(elo)
      end      
      @return_url = params[:return_url].nil? ? "/" : params[:return_url]
      @modal = params[:modal].nil? ? false : params[:modal]
      @page.title = "Login" if @page
      redirect_to @return_url and return if logged_in?
      render :layout => "caboose/application"
    end
def index
      if params[:logout]
        logout_user
        elo = User.find(User::LOGGED_OUT_USER_ID)        
        login_user(elo)
      end      
      @return_url = params[:return_url].nil? ? "/" : params[:return_url]
      @modal = params[:modal].nil? ? false : params[:modal]
      @page.title = "Login" if @page
      redirect_to @return_url and return if logged_in?
      render :layout => "caboose/application"
    end
layout 'caboose/modal'
 @route GET /login