YH-508: Redirect the user to the front page when logging in