Made appropriate changes so page moves from first to second. No idea what the error was from. It claimed that id was missing but the create method I edited yesterday worked and checks if model is nil and creates or updates it appropriately.