Added getNameOfUser to database