initialized variable before value assigment.
added method for retrieving user roles for a given user.
refactored calendar api controller action out into its own controller.
whitelisted api controller in authn. hook and removed the calendar exporter controller from the whitelist.
corrected user role mapping.
updated URL to calendar api endpoint.