refactored user model
Generated controller for questions