get bitly functionality working