remove debug print
switch login and register buttons to use when the course is restricted