public function getUserDetails($username)
	{
		// load username from email
		if (strpos($username, '@'))
		{
			$username = $this->getUsernameFromEmail($username);
		}

		// load profile object, make sure its valid
		$profile = \Hubzero\User\User::oneByUsername($username);

		if (!$profile->get('id'))
		{
			return false;
		}

		// return details as associative array
		return ['user_id' => $profile->get('id'), 'scope' => null];
	}