setting up rails controller for entry creating