Added profiles controller and changed routing