fix login submit