changes to login screen, adding analytics