Changed user id to username, implemented ApplicationSerializer to make _id the primaryKey, and adjusted thhe app accordingly.