<?php
/***************************************************************************
-Copyright (c) 2006 - 2010 Scuttle project
-http://sourceforge.net/projects/scuttle/
+Copyright (c) 2006 - 2010 Marcus Campbell
http://scuttle.org/
This program is free software; you can redistribute it and/or modify
header('Cache-Control: no-cache, must-revalidate');
require_once 'header.inc.php';
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$userservice =& $sf->getServiceInstance('UserService');
echo !($userservice->isReserved($_GET['username']) || $userservice->getUserByUsername($_GET['username']));