added last jbuilder views
added validation to models