automatic login button for coach and student done