add user history in main activity