Revert "added index and new actions for User controller"

This reverts commit 6fe2e5f70a0d7a7a6593936c4934557d9eff584d.
Revert "Revert "added index and new actions for User controller""

This reverts commit 352fe02748e3f210b2a833ce51df4c6088900a64.