Added profile route. Refactored getSites().