Replaced custom ConnectController with a simplified postConnect controller which maps the relvant paths