Fixed issue with logging in. Was a problem with setting the root url.