added user validation method
added bcrypt gem