postgres implementation & authorization service enhancement

- Hook with postgres when deployed in production
- Write service for getting specific authorization