generate profiles controller with index and show actions