fixed migration and refactored Questions controller