instructor user login functioning