Update person/teacher, is_login(), login() by Mawin