fix bugs when connecting with student account