login changes and a few other issues