def redirect_after_unsuccessful_authentication(redirect_to_last_page=true)
      if redirect_to_last_page
        set_params_hsh
        redirect_to add_query_params(default_sign_in_url, @params_hsh)
      else
        redirect_to default_sign_in_url
      end
      
      return
    end
def redirect_after_unsuccessful_authentication(redirect_to_last_page=true)
      if redirect_to_last_page
        set_params_hsh
        redirect_to add_query_params(default_sign_in_url, @params_hsh)
      else
        redirect_to default_sign_in_url
      end
      
      return
    end
-----------------
 Redirect Methods
 -----------------
 Method to handle the redirection after unsuccesful authentication
 This method should also handle the redirection if it has come through a client appliction for authentication
 In that case, it should persist the params passed by the client application