added profile controller and view pages