form submission writes to mongodb
added all form fields in application route
cleaned up application route and database write