added events and friends page for creating template