fixed routing after login action