Update

Checks if email is in correct format and clears fields after successfull
add to database. Lots of comments added aswell.