fixed issue with submit buttonf or login
enabled auto-login