Improved the redirection after login by utilizing session[:return_to] instead of request.referer.
Improved the redirection after login by utilizing session[:return_to] instead of request.referer.

tenforwardconsulting/crantastic,hadley/crantastic,tenforwardconsulting/crantastic,tenforwardconsulting/crantastic,hadley/crantastic,tenforwardconsulting/crantastic,hadley/crantastic