Fix login routing