added loading gif on groups and login form