prepare login changes