redirect URL after login
- oauthwirte refactoring 
- change JSON lib