Adding authorization checker class.
Removing type erasure warning.
Adding authorization via JWT token to service.