Setup basic user pages, fixed template user authentication, cleaned up templates a bit