Added retype password feature and some new exceptions to increase readability.