Stop direct IP access
Tidy up