login and other changes