Completed most of the form/ui