added submit route, database, and view