Added profile page, refactored existing resources