Refactoring answers controller