Updated Login Logic

Now, checks to make sure a user object has been created instead of just
a string with the user's name & ID.