update user profile functionality to work with new modular structure