Add auth logic for solutions.
Fix auth.
Only clause.
Merge pull request #232 from tobyk100/fix-auth-teacher

Add auth logic for solutions.