user model added, basic validation