added remove profile function