Added profile sync function
finished profile data sync function
Merge branch 'profile_sync' into dev