fixed typo in Url
Provided check for loggedIn status