2 different user session

A and B i typed for easy understanding i hav profile.php n profile2.php i have added a seperate register for USER A and seperate for USER B,and i have a separate data table for user A(PROFILE) and B(profile)so its 10 or 5000 users it will get bifercated according to users registeration see my code