added stuff for login