Fix login and user pages