Commit-userprojects table update form

Takes teacher selection from dropdown and adds teacher, userid and
projectid to userproject table, to link users, teachers and projects
together.