Zorigt added validation in user.rb under models