Updated to use generic user inputs (not directory/database specific ones).
Updated to use the "as" option for form_for.
Fixed form paths.