Improved server logs and added add friend feature