ammend login form to be domain agnostic