add helper methods to assignment.js and comment.js to get username