add logout for student