Refactored users and styles controllers