routing fixed for after logging in