model user changes and login attempts