Added validation but will make it more structural in the future. Added client side javascript and will add it in gitignore in the future