Add session in BaseHandler
Add error_handler of application with 404, 500