Fixed the database, forms, and routes