auto login to trainer or trainee