added functionality to add an admin