Redirect to preview if not logged in

Redirect to preview if not logged in or logged in and not a member of
the course