shows enrolled status changes more dynamically
Now checks if user can access lesson before allowing access.