Web: added different validations before battle