added register page
added full registration and auth support