Home page, error page, and utility functions added