added validations and others front stuff fixes