added get method for user
implemented userregistry