error handling in controller
Merge remote-tracking branch 'origin/master'