Changed user parameter to be a user instance