logging in for the edit url, still displaying json