added 1. user.rb which is full with validations. 2. migration. 3. schema file
add index validations
added index to email, with validation that it's uniqe, and added password