updated head and login