added validation to forms and rails models for movies