JS - Separated the profile and user classes