basic form working and sending emails