Added Achievement updating in the User class to the database