Implemented command to view profile.