redirect GET '/code' requests if no user record exists