Fixed navigation to home after login/register