Verify user is logged in before checking if they've earned an achievement