implemented profile store and load in activity