working login form, reconfigured configuration