Fixes actionEdit. Restore old settings, when email fails. setFlash after logout, because of new user session.
Added some correction on signup