fix login process (added requested_url)