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

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