updates for login