g sessions controller and define actions and make routes for log in out