Added token refresh functionality into app