Added better error handling.
Implemented necessary credential checks to SprintController.