Modified the Controller for user