fixed answers controller and railsified some redirect_to statements