Added username

Changed registration to take a username instead of an id
Added some around hooks to set up the server and clear the database out