optimization and click event on document
Merge branch 'master' of https://github.com/snowed/oauth-laravel