Check if user is logged in when using keywords api calls