create action for home page