redirect to / after login instead of just changing state