adding spinner and error message elements back in to login form