Introduce sessions and views for login (untested)