Rechanged the login_submit function