added current username info output
switched places of info output and according function call