get login to work