added redirect after login/logout