set login url, closes #1