added mainView in order to add preventDefault method
added action in order to navigate to the project page