made the profiles controller