Implement student and instructor login