Make entries in Attempts and Attempt_details tables