Implemented ratings & basic auth