Added authenticatin. Added validation for profile name when signing on. Added validation for duplicate profile name.