public function setUserSession($user) {
		if (!isset($user[$this->usernameKey]) || $user[$this->usernameKey] == '')
			throw new Exception('Invalid username');

		foreach ($user as $strKey => $strValue)
			$_SESSION['user_'.$strKey] = $strValue;
	}