Loading image appears on login submit