redirecting to / on successful login