Added rerouting after login to the original request url