got the user admin functions to work