Added profile functionality