Fixed buttons visiblilty bug in course.aspx.cs

Also add returnUrl in Default.aspx