profile functionality added