Fixed bug : If I wasn't logged in the url would still remain in the location bar while showing the login form.