Add redirection technique for sending user to login page and back