Add errors.php in view
Add authenticate action in account controller
Add Common.php with logger function in it