loginAction modified