some preliminary login form mechanics