logging in and out works , redirect after login bugs