Server changes for login.