creates top navbar and removes excessive divs
beginning stages of friends function