add user checkin
rename exception for invalid code