adding basic template with autorizhation