fixed refresh token issue, and implemented file share feature