connect user profile with main template