updated routing after login