functioning crud for users and admin users