Renamed catagory to category and userID to username for getAssignment