addition again of get_username function