Updated user controller, and application controller

updated user controller with full crud and also set up params in application controller