added functionality to add users to the database as administrator