before login changes