Fixed validation bug in User Model