redirected the page after login based on the request.META data