added functionality to delete a user