Changing loading so login doesn't appear until after loading message disappears