changing to blade syntex
adding input validation
adding input validation