use username get from try catch