created views and controller