fix login submit action