Hi,
(1) You have logged in as an Instructor.
(2) You have logged in as John.
I'm afraid I'm still a little unclear about your question.
If you just want a grammatical rule, it's that 'instructor' is a common, countable noun that requires an article, while John is a proper...