Add error logger, and update method in questions controller