fixing routes, form syntax, form validation