redirect to default page after login and logout