Implement index and create action for controller