Mke error page nice and log errors using logger
remove if statement for logging
Merge pull request #588 from squirrelo/error-page-showing-properly

Make error page nice