Implement customized buttons on the course pages.

different buttons for different users and conditions