Edited Client and Server code to fix updateLibrary endpoint's JSON parsing of newly-joined phone's library.