updating login activity