replace the older rocket sign to : and also use validates instead of val...

replace the older rocket sign to : and also use validates instead of validates_presence_of