Move session methods to application controller. Add Logout functionality. Display current user and proper link for log in/out on view.