added more options to the OauthServer class
updated the example file to reflect the changes