registering now also logs you in
if you attempt to access any page other than index or register while not logged in you are now redirected to index