Student engagement in an online course and its impact on student success