trying to implement friends
refactored app.js so all the logic is now in api.js
first attempt at showing friends stuff in you feed