do base64 before fb auth