Add base template
Add login page and some middle for requirelogin
Add user object to each request