Add API search location , logout , autologin