Updated get_username function to make sure that there is no '/' character in their name.