add 500 page, some style change on error
consolidate error function
fix codio error
Merge pull request #74 from albertcui/500-errors

500 errors