fighting with async function calls
auth working finally