Use get_username() instead of directly accessing the username field