Removed the url_for() for redirect after login