changed redirect in controller