Fixed bug in friend adding, removed unnecessary files