Register with username and logged in and out pages