Fixed issue with the log-in form not redirecting you to the page you were on