Implements profile editin