User Profile Rendering completed and code refactoring