tidy up the login page and fix some bugs in the display of circles