Fixed OAUth2 support
Added base input validation interface