Restructured everything. Need to save create sale form data to database. Link logged in user to sale, so sale can only be edited by the correct logged in user.