rename newmainactivity to loginactivity, should be done