Refactor rating stars partial
Implement format.json return for user
Add groups to json response for user