fixed formatting and changed email input to be optional input that sets value on the form