Refactored profile routes