profiles controller added

flash message added