Use html layout for page rendering
Barebones basic auth
Rewrite base auth
Use token for auth