code for profile completedness somewhat done