Moved validation methods to lib
Fixed form element ids
Better error handling on client
Fixed race condition on server
Fixed wrong function call in create account
Reset settingsActive flag in router
Added info/error messages template
Rewritten settings client side