implemented refresh and me buttons