Changed template;
Fixed repetition logic;
Created admin;