Add navbar login, and rename main as login page.
Add base_controller which contain utility methods for authentication.
Add LOGIN_PATH and LOGOUT_PATH as constant for base_controller.