Added username lookup function to chirps.js, likely to be used in future.