login now referencing new and correct table