Fixed a bug with user logging in on the URL.