created profile controller