In the get_username funciton I added a check to make sure that the '/' character does not exist in users name.