Added check username function