Format more code.
Adding @todo items.
Fixing https://github.com/LearningLocker/learninglocker/issues/225: Use Eloquent object instead of call db directly.
Fixing https://github.com/LearningLocker/learninglocker/issues/225: Fix typo.