added loading gif and login/signup error messages