fix redirection in connections_controller