added shortne and getLongUrl function contents