def index
      @return_url = params[:return_url].nil? ? "/" : params[:return_url];
      @modal = params[:modal].nil? ? false : params[:modal]
      redirect_to @return_url and return if logged_in?
      @page.title = "Create an Account" if @page
      render :layout => "caboose/application"
    end
def index
      @return_url = params[:return_url].nil? ? "/" : params[:return_url];
      @modal = params[:modal].nil? ? false : params[:modal]
      redirect_to @return_url and return if logged_in?
      @page.title = "Create an Account" if @page
      render :layout => "caboose/application"
    end
layout 'caboose/modal'
 @route GET /register