#9 Added custom error pages. Implemented logging. Added state message after user sign up. Fixed scripts.