saveToDB

Updates the given user in the database.

Parameters

user

The user to be saved to the database.