added validation mixin and implemented simple validation in account model