when switching to login page, focus on username input