Restructure code according to a user. Add exception handling.
Merge branch 'master' of https://github.com/SenseGrow/oauth2-provider