optimize analytics
fix user data removal due to premature load
add youtube sync function