updated app with friends route also updated index template