improvements to login and header