added basic user mgmt functionality