[TASK] add validation and control autherization on the page