some basic controller functions for checkout, fixed odd has_many issue