Added method to print username along with greeting