Correct flash message for errors while logging
Style improve
Create some error pages
Correct some errors