Fixing the server code & adding deletion of bookmarks