added a bunch of login functions