finished ep19 and fixed the bug in beforeValidation of the user model.