Added getUsername method