Added some validations to actor.rb