Fixed email icon in credential creation form.
Configuration organization changes, more refactoring.
Started fixing input validation.
Removed unused code.
Even more refactoring. Fixed error checking logic.