Fixed the redirect for non-logged in account urls