Dynamic login form works