updated controller actions and views