Moved user settings out of API implementation