Add refresh_token feature
Fix env start bug and add metro helper to intercept httpResponse.end