updated profile module architecture and styling