hash salt move to helper