Added views and updated profile controller