Updates the DB when a user logs in
aaa