DOC|WIP: Updated documentation and styling format. Updated getPeerInfo function to check if inputted peerId is the user's sid and return user info