login changes, might be a few buggggggs