adds sessions controller, login view, authenticate method