including activemodel validation modules and applying validation to user model