added safer conditional statements for edit v. add
Merge branch 'master' of github.com:devonzuegel/auth